<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<?php echo base_url();?>public/<?php echo $module;?>/css/style2.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>public/<?php echo $module; ?>/css/jquery-ui.css" />
<script type="text/javascript" src="<?php echo base_url(); ?>public/<?php echo $module; ?>/js/java.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>public/<?php echo $module; ?>/js/jquery-1.11.1.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>public/<?php echo $module; ?>/js/jquery-ui.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>public/<?php echo $module; ?>/js/jquery.validate.min.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>public/<?php echo $module; ?>/js/myjs.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>public/<?php echo $module; ?>/js/js_search.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>public/<?php echo $module; ?>/js/ckeditor/ckeditor.js"></script>
<script type="text/javascript" language="javascript">
    var baseUrl = "<?php echo base_url(); ?>";
</script>

<!--treeview-->
<link rel="stylesheet" href="<?php echo base_url(); ?>/public/<?php echo $module; ?>/css/jquery.treeview.css" />
<!--<link rel="stylesheet" href="../red-treeview.css" />-->
<!--<link rel="stylesheet" href="<?php echo base_url(); ?>/public/<?php echo $module; ?>/css/screen.css" />-->

<!--<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>-->
<script src="<?php echo base_url(); ?>/public/<?php echo $module; ?>/lib/jquery.cookie.js" type="text/javascript"></script>
<script src="<?php echo base_url(); ?>/public/<?php echo $module; ?>/js/jquery.treeview.js" type="text/javascript"></script>

<title><?php echo $titlePage;?></title>
</head>

<body>
	<?php
		$this->load->view("$module/top");
	?>
	<?php
            if($this->session->userdata("level") == "admin")
		$this->load->view("$module/menu");
	?>
    <div id="main">
    	
        <div id="info">
            	<?php
                    $this->load->view($loadPage);
                ?>
        </div>
    </div>
	<?php
            $this->load->view("$module/bottom");
	?>
</body>
</html>